using System;

namespace PetShop.Web.Entities
{
    [Serializable]
    public class ItemInfo
    {
        private readonly string _id;
        private readonly string _name;
        private readonly decimal _price;
        private readonly string _productDesc;
        private readonly string _productName;
        private readonly int _quantity;

        public ItemInfo(string id, string name, int quantity, decimal price, string productName, string productDesc)
        {
            _id = id;
            _name = name;
            _quantity = quantity;
            _price = price;
            _productName = productName;
            _productDesc = productDesc;
        }

        public ItemInfo(string id, string name, decimal price, string productName, string productDesc)
        {
            _id = id;
            _name = name;
            _price = price;
            _productName = productName;
            _productDesc = productDesc;
        }

        public string Id
        {
            get { return _id; }
        }

        public string Name
        {
            get { return _name; }
        }

        public string ProductName
        {
            get { return _productName; }
        }

        public string ProductDesc
        {
            get { return _productDesc; }
        }

        public int Quantity
        {
            get { return _quantity; }
        }

        public decimal Price
        {
            get { return _price; }
        }
    }
}